﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Top.aspx.cs" Inherits="FractalistWX.Manage.Admin_Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>    
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script language=JavaScript>
        function logout() {
            if (confirm("您确定要退出控制面板吗？"))
                top.location = "../Login.aspx";
            return false;
        }
</script>
<script language=JavaScript1.2>
function showsubmenu(sid) {
	var whichEl = eval("submenu" + sid);
	var menuTitle = eval("menuTitle" + sid);
	if (whichEl.style.display == "none"){
		eval("submenu" + sid + ".style.display=\"\";");
	}else{
		eval("submenu" + sid + ".style.display=\"none\";");
	}
}
</script>
<script language=JavaScript1.2>
function showsubmenu(sid) {
	var whichEl = eval("submenu" + sid);
	var menuTitle = eval("menuTitle" + sid);
	if (whichEl.style.display == "none"){
		eval("submenu" + sid + ".style.display=\"\";");
	}else{
		eval("submenu" + sid + ".style.display=\"none\";");
	}
}
</script>
<base target="main">
<link href="../css/skin.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <table width="100%" height="80" border="0" cellpadding="0" cellspacing="0" class="admin_topbg">
        <tr>
            <td width="61%" height="80" style="padding-left: 65px;">
                <img src="images/logo.png" width="96" height="47">
            </td>
            <td width="39%" valign="top" style="text-align:right;">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:30px; font-size:14px;">
                    <tr>
                        <td width="74%" height="38" class="admintop_txt" style="text-align:right;padding-right:15px;_padding-right:7px; border-right:1px solid #fff;">
                           <span><img src="images/admin.png" alt="" /></span> <%=User.Identity.Name.Split('|')[0] %>
                        </td> 
                      
                        <td class="admintop_txt" style="text-align:left;padding-left:15px;_padding-left:7px;">
                            <a href="#" class="admintop_txt" target="_self" onclick="logout();"><b>退出</b></a>
                        </td>                      
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
<script type="text/javascript">
//    QuetionNum();
//    setInterval(QuetionNum, 5000);
//    function QuetionNum() {
//        $.get("CustomerAjax.aspx?action=GetQuestionNum&t=" + Math.random(), function (data) {
//            if (parseInt(data) > 0) {
//                $("#QuetionNum").text("收到"+data+"条新问题");
//            }
//            else {
//                $("#QuetionNum").text("");
//            }
//        })
//    }
</script>
